<script setup>
import { RouterLink, RouterView } from "vue-router";
</script>
<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <nav>
          <RouterLink to="/home"></RouterLink>
          <RouterLink to="/"></RouterLink>
          <RouterLink to="/about"></RouterLink>
          <RouterLink to="/drug"></RouterLink>
        </nav>
      </el-header>
      <el-container>
        
        <el-main>
          <RouterView />
        </el-main>
      </el-container>
    </el-container>
  </div>
 
</template>
<style scoped>
.common-layout,.el-container{
  height:100%;
}
</style>
